BindingHostConcept specifies an interface for adding and removing bindings to the binding host.
More...
#include <kanzi/core.ui/binding/binding_host_concept.hpp>
BindingHostConcept specifies an interface for adding and removing bindings to the binding host.
Besides providing the interface, BindingHostConcept contains the binding runtimes.
- Since
- Kanzi.3.7.0
◆ BindingRuntimeContainer
Container for binding runtimes.
◆ BindingRuntimeIterator
Iterator for binding runtimes.
◆ BindingRuntimeConstIterator
Const iterator for binding runtimes.
◆ BindingHostConceptSharedPtr
Binding host concept shared pointer type.
◆ removeBinding()
◆ removeBindingsWithOwner()
void kanzi::BindingHostConcept::removeBindingsWithOwner |
( |
shared_ptr< void > | owner | ) |
|
Removes all binding runtimes with the specified owner.
- Parameters
-
owner | Owner of the binding runtime. |
◆ removeAllBindings()
void kanzi::BindingHostConcept::removeAllBindings |
( |
| ) |
|
Removes all binding runtimes.
◆ beginBindingRuntimes()
Returns an iterator to the beginning of binding runtimes.
- Returns
- Const iterator to the beginning of binding runtimes.
◆ endBindingRuntimes()
Returns an iterator to the end of binding runtimes.
- Returns
- Const iterator to the end of binding runtimes.
◆ getBindingRuntime()
Gets binding by index.
- Parameters
-
idx | Index of binding to retrieve. |
- Returns
- Binding runtime at index.
◆ getBindingRuntimeCount()
size_t kanzi::BindingHostConcept::getBindingRuntimeCount |
( |
| ) |
const |
Gets the number of binding runtimes added to this node.
- Returns
- Number of bindings currently in the binding host.
◆ attachBindings()
void kanzi::BindingHostConcept::attachBindings |
( |
| ) |
|
|
protected |
Attach all bindings stored in this object.
◆ detachBindings()
void kanzi::BindingHostConcept::detachBindings |
( |
| ) |
|
|
protected |
◆ m_bindingRuntimes
The documentation for this class was generated from the following file: